Awstats is a foreign open source of the website PV flow monitoring software, can obtain Apache or Nginx log information, the log useful information to integrate into the HTML page display, because the content of the analytic log is very meticulous,
Believe that have done awstats have used the open source Geoip.dat IP database, just nginx wiki on the GeoIP module, so that can achieve a regional load balance, but the Maxmind of IP database for China's support is not too good, but now is not bad ~
https://pypi.python.org/pypi/GeoIP/RequirementsPython 2.5+ or 3.3+GeoIP C Library 1.4.7 or greaterInstallationWith Pip:$ pip Install GeoIPFrom Source:$ python setup.py build$ python setup.py installDownload and install PythonA very important step is
Configure GeoIP in logstash to parse geographic information, logstashgeoip
The GeoIP database configured in logstash parses the ip address. Here, an open source ip data source is used to analyze the ip address of the client. The official website is
This is a creation in
Article, where the information may have evolved or changed. # # # RESTful interface * * Request url:**-' https://api.turboes.com/Tbsapi/v1/ip2addr?ip=219.140.227.235 ' * * Request method: **-GET * * Parameters: * * | parameter
I believe that awstats has used open source geoip. the dat ip database is just nginx wiki with the geoip module, which can achieve regional load balancing. However, maxmind's ip database does not support China very well, but it is also good now
If you want to find the actual geographic location of an IP address on the earth, you can use many online GeoIp lookup services (such as geoiptool.com ). Most of these online services are supported by a free GeoIP database such as MaxMind. While
If you want to find the actual geographic location of an IP address on the Earth, you can use many online GeoIp lookup services (such as geoiptool.com ). Most of these online services are supported by a free GeoIP database such as MaxMind. When
Method One
The first approach is to use the Geoiplookup tool, which is a command-line client for querying the Maxmind GeoIP database. Geoiplookup allows you to query for geographic information or network information for an IP address (or domain
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.